package com.beordie.service;

import com.beordie.model.Punishment;

import java.util.List;

/**
 * @Classname IPunishmentService
 * @Description TODO
 * @Date 2021/7/14 8:05
 * @Created 30500
 */
public interface IPunishmentService {

    public List<Punishment> getAll();
    public List<Punishment> getAllByLimit(boolean isLimit, int start, int size);
    public int insert(Punishment punishment);
    public int deleteById(int id);
    public int updateById(Punishment punishment, int id);
    public Punishment findByNumName(String condition);
    public int getCount();
    public List<Punishment> getAllByNotice(int id);
}
